package com.yonyou.cyxdms.basedata.client.service.basedata;

import com.yonyou.cyxdms.basedata.client.domains.vo.ColorCacheCMSVO;
import com.yonyou.cyxdms.basedata.client.domains.vo.ColorCacheVO;

import java.util.List;

/**
 * 颜色
 *
 * @author renwd
 * @since 2018/12/18
 */
public interface BaseCommonColorService {

    /**
     * 根据配置id、颜色id查询颜色信息
     *
     * @param packageId
     * @param colorId
     * @return com.yonyou.cyxdms.basedata.client.domains.vo.ColorCacheVO
     * @author renwd
     * @since 2019/9/10
     */
    ColorCacheVO getValueByColorId(String packageId, String colorId);

    /**
     * 获取所有颜色
     *
     * @param colorType 16081002 外饰色,16081001内饰色
     * @return:
     * @auther: tanjie
     * @since: 2019/11/4
     */
    List<ColorCacheVO> getAllColorByAppIdAndType(String appId, Integer colorType);

    public ColorCacheCMSVO getValueByColorIdCMS(String packageId, String optionId, String colorId, String trimColor);


}
